home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
sed.arc
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1987-03-08
|
1KB
|
40 lines
#makefile for the don kneller's shareware ndmake
OBJS= sedcomp.obj sedexec.obj
CSRC= sedcomp.c sedexec.c
sed.exe: ${OBJS} sed.h debug.h
cl ${CFLAGS} ${OBJS} -o sed.exe
clean:
-(del *.obj; del sed.exe)
pack:
(if exist foo del foo; \
exepack sed.exe foo; \
if exist foo del sed.exe; \
if exist foo ren foo sed.exe)
arc:
arca sed.arc makefile sed.exe *.c *.h
depend: ${CSRC}
-(if exist makedep del makedep; \
touch makedep; copy \prog\bin\depend.bat ${TMP})
-! (${TMP}depend $?)
copy Makefile Makefile.bak
-(bawk \prog\bin\bawkrul2 makefile.bak > makefile)
type makedep >> makefile
-(del makedep; del temp?)
# anything after this line will disappear.
# DO NOT DELETE THIS LINE -- make depend uses it
sedcomp.obj: c:/include/stdio.h debug.h sed.h sedcomp.c
sedexec.obj: c:/include/ctype.h c:/include/stdio.h \
debug.h sed.h sedexec.c